<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>录入学生信息页面</title>

  </head>
  <jsp:include page="isLogin.jsp"></jsp:include>
  <body>
  	<form action="student/inputStuInfoServlet" method="post">
  		<table bgColor="#c0c0c0">
  			<tr>
  				<td align="center" bgcolor=green colspan=2><font color=white>学生信息录入</font></td>
  			</tr>
  			<tr>
  				<td>昵称：</td>
  				<td><input type="text" size=20 name="nicheng"></td>
  			</tr>
  			<tr>
  				<td>真实姓名：</td>
  				<td><input type="text" size=20 name="truename"></td>
  			</tr>
  			<tr>
  				<td>性别：</td>
  				<td>
  					<input type="radio" name="sex" checked value="1">男&nbsp;&nbsp;
  					<input type="radio" name="sex" value="0">女
  				</td>
  			</tr>
  			<tr>
  				<td>出生日期：</td>
  				<td><input type="text" size=20 name="birthday"></td>
  			</tr>
  			<tr>
  				<td>所学专业：</td>
  				<td>
  					<select name="major">
  						<option>ji</option>
  						<option selected>通信工程</option>
  						<option>电气工程</option>
  					</select>
  				</td>
  			</tr>
  			<tr>
  				<td>所学课程：</td>
  				<td>
  					<select name="course" size=2 multiple="multiple">
  						<option>ji</option>
  						<option>数据结构</option>
  						<option>数据库原理</option>
  						<option>操作系统</option>
  						<option>计算机网络</option>
  						<option>软件工程</option>
  					</select>
  				</td>
  			</tr>
  			<tr>
  				<td>兴趣</td>
  				<td>
  					<input type="checkbox" value="music" name="interest">听音乐&nbsp;
  					<input type="checkbox" value="book" name="interest">看小说&nbsp;
  					<input type="checkbox" value="web" name="interest">上网
  				</td>
  			</tr>
  			<tr valign="top">
				<td>备注</td>
				<td><textarea rows=3 cols=20 name="remark">${stu.remark}</textarea></td>
			</tr>
			<tr>
				<td align="center" colspan="2">
				<%-- 	<input type="hidden" name="id" value="${stu.id}">  --%>
					<input type="submit" value="提交">&nbsp;&nbsp;<input type="reset" value="重置">
				</td>
			</tr>
  		</table>
  	</form>
  </body>
</html>
